import { classMap } from '@/assets/icons/page/components/index'

const pageData = {
  classTitle: {
    data: {
      name: '课程名称',
      type: 'classTitle',
      nameTwo: 'CESHIYAABCD'
    },
    type: 'classTitle'
  },
  classContent: {
    data: {
      name: '特色',
      content: '测试课程内容',
      img: '@/assets/classContent@2x.jpg'
    },
    style: {
      titleStyle: {
        fontSize: 16,
        color: '#fff',
        textAlgin: 'center'
      },
      contentStyle: {
        fontSize: 12,
        color: 'black',
        textAlgin: 'left'
      }
    },
    titbg: 'rgb(18,109,249)',
    contentbg: ' linear-gradient(270deg, #F0F4F7 0%, #F0F4F9 100%)',
    type: 'classContent'
  },
  //表单
  classForm: {
    type: 'classForm',
    name: '表单',
    title: '表单名称',
    data: [
      {
        name: '名字',
        type: 'text',
        value: ''
      },
      {
        name: '联系方式',
        type: 'text',
        value: ''
      },
      {
        name: '内容',
        type: 'textarea',
        value: ''
      }
    ],
    style: {
      fontSize: 12,
      fontColor: 'black',
      bg: '#fffff',
      okBtnColor: '#d6893b',
      okBtnBorder: '#d6893b',
      cancelBtnColor: 'black',
      cancelBtnBorder: 'black',
      btnSize: 'default'
    }
  },
  //老师介绍
  teacher: {
    data: {
      teacherImg: 'https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp',
      name: '老师名字',
      school: '毕业院校',
      content: '老师内容简介老师内容简介老师内容简介'
    },
    style: {
      flex: 'row',
      imgSize: 20,
      contentSize: 12,
      contentColor: '#bfbfbf',
      nameFontSize: 18,
      nameColor: 'black',
      schoolFontSize: 16,
      schoolColor: 'black',
      contentFontSize: 14,
      contentColor: '#ccc'
    },
    type: 'teacher'
  },
  //联系方式
  classPhone: {
    type: 'classPhone',
    data: {
      content: '0731-82886088'
    },
    style: {
      color: 'black',
      fontSize: 16,
      type: 'p',
      textAlign: 'center'
    }
  },
  //地图
  classMap: {
    type: 'classMap',
    data: {
      center: '28.227121, 112.884468',
      address: '湖南省长沙市中电软件园',
      zoom: 8,
      addressName: '',
      addressChange: '',
      addressOption: []
    },
    style: {
      mapStyle: 'fresh',
      animation: false,
      // width: 100,
      height: 200,
      markerImg: 'https://mapapi.qq.com/web/lbs/javascriptV2/demo/img/center.gif'
    }
  }
}
export { pageData }
